import fn from '@welab/fx-ui/components/PlateformHalf';
import {
  buttons,
  badge,
  checkBox,
  switchBox,
  toast,
  list,
  navBar,
  formItem,
  noticeBar,
  modal,
} from '@welab/fx-ui/theme';

const fontSizes = [36, 24, 20, 16, 30, 28].map(v => fn(v));
export const icoNames = ['back', 'backTheme', 'radioOn', 'radioOff', 'checkBoxOn', 'add', 'rightArrow', 'noticeArrow', 'horn', 'toastSuccess', 'toastError', 'toastWarn', 'clear', 'canClose'];
const colors = {
  Orange: '#FF5D3D',
  DeepOrange: '#FF3E27',
  LightOrange: '#FF6D49',
  Night: '#333333',
  DeepGray: '#666666',
  Gray: '#999999',
  LightGray: '#CCCCCC',
  White: '#FFFFFF',
  Green: '#00CE83',
  Blue: '#B0D3F6',
};
// Steps 开始
const steps = {
  theme: {
    wait: colors.LightGray,
    process: colors.Gray,
    success: colors.DeepOrange,
    fail: colors.DeepGray,
  },
};
// Steps 结束
// PickerInput 开始
const pickerInput = {
  btnColor: colors.DeepGray,
  btnFontSize: fontSizes[4],
  electColor: '#000',
  unelectColor: colors.LightGray,
  optionFontSize: fontSizes[5],
};

// PickerInput 结束

const formSize = {
  normal: {
    fontSize: fontSizes[4],
  },
  large: {
    fontSize: fontSizes[0],
  },
  small: {
    fontSize: fontSizes[5],
  },
};
export {
  colors,
  buttons,
  badge,
  checkBox,
  switchBox,
  toast,
  list,
  navBar,
  formItem,
  noticeBar,
  modal,
  steps,
  pickerInput,
  formSize,
};

